package com.czh.springboot04.service;

import com.czh.springboot04.entity.Charge;
import com.czh.springboot04.mapper.ChargeMapper;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ChargeService {
    int insert(Charge charge);

    int update(Charge charge);

    int delete(int id);

    PageInfo<Charge> selectByPage(int pageNum, int pageSize,Charge charge);
    Charge selectById(int id);
    List<Charge> selectAll();
}
